home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2376 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.2 KB

  1. Path: news.pfc.forestry.ca!bcsystems!ewilts
  2. From: ewilts@vmsmail.gov.bc.ca (Ed Wilts)
  3. Newsgroups: comp.lang.c,comp.os.vms
  4. Subject: Re: Problems with DEC C
  5. Message-ID: <1996Jan20.124231.7443@vmsmail.gov.bc.ca>
  6. Date: 20 Jan 96 12:42:31 PST
  7. References: <4dojfi$31a@news.aero.org> <4dp87h$mml@masala.cc.uh.edu>
  8. Reply-To: EWILTS@GALAXY.GOV.BC.CA
  9. Distribution: world
  10. Organization: BC Systems Corporation
  11.  
  12. In article <4dp87h$mml@masala.cc.uh.edu>, sapsadeb@UHSFIN.UHSA.UH.EDU writes:
  13. > In article <4dojfi$31a@news.aero.org>, johnson@halley.aero.org ("Wowbagger the Infinitely Prolonged") writes:
  14. >>
  15. >>I have been trying to install XV 3.10, NETPBM, and XANIM on my VMSCluster.
  16. >>I have Alphas and VAXStations running OpenVMS 6.2 and DEC C 5.2.  I keep
  17. >>getting errors such as:
  18. >> 
  19. >>  typedef unsigned char  u_char;
  20. >>.........................^
  21. >>%CC-E-NOLINKAGE, In this declaration, "u_char" has no linkage and has a prior
  22. >>declaration in this scope at line number 304 in file
  23. >>SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;3.
  24. >>at line number 82 in file PD$ROOT:[X11.MISC.XV310]XV.H;1
  25. >>
  26. >>I get similar errors for u_int, u_short, u_int, and u_long.  Has anyone seen
  27. >>errors like these?  How do I get around them?  I don't think it is simply a
  28. >>question of using /DECC vs. /VAXC.
  29. >>
  30. > The header file types.h has been changed.
  31. > You can usually get around errors caused by this by using
  32. > /define=("_DECC_V4_SOURCE")
  33. > Code written to use Multinet 3.4 which includes Multinet's netdb.h
  34. > header needs to be compiled with 
  35. > /define=("__SOCKET_TYPEDEFS","_DECC_V4_SOURCE"). 
  36. > I have heard that Multinet 3.5 does not need this one though.
  37.  
  38. MultiNet 3.5 still has a problem with DEC C 5.2.  I've contacted TGV, and they
  39. just released an ECO kit containing more header files for 5.2 compatibility. 
  40. We're testing this now.
  41.  
  42. The new headers will hopefully be incorporated into 3.5 Rev B which I'm lead to
  43. believe is now in packaging.
  44.  
  45. -- 
  46. Ed Wilts, BC Systems, 4000 Seymour Place, Victoria, B.C., Canada, V8X 4S8
  47. EWilts@Galaxy.Gov.BC.CA     Office:  (604) 389-3430   Fax: (604) 389-3412
  48.  
  49. Disclaimer: The opinions and statements contained in this posting are the sole
  50. responsibility of the author and have not in any way been reviewed or approved
  51. by my employer or any network service.
  52.